package com.atguigu.pojo;

import java.util.Objects;

//主任务相当于"拉包" "下线" "停止" "rm" "unzip" "start" "心跳检测" "上线" "回滚"
public class MainTask {
    String id;
    String deployServiceModuleId;
    String deployGoalId;
    String name;//"拉包" "下线" "停止" "rm" "unzip" "start" "心跳检测" "上线" "回滚"
    String status;
    String lastId;

    public MainTask() {
    }

    public MainTask(String id, String deployServiceModuleId, String deployGoalId, String name, String status, String lastId) {
        this.id = id;
        this.deployServiceModuleId = deployServiceModuleId;
        this.deployGoalId = deployGoalId;
        this.name = name;
        this.status = status;
        this.lastId = lastId;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getDeployServiceModuleId() {
        return deployServiceModuleId;
    }

    public void setDeployServiceModuleId(String deployServiceModuleId) {
        this.deployServiceModuleId = deployServiceModuleId;
    }

    public String getDeployGoalId() {
        return deployGoalId;
    }

    public void setDeployGoalId(String deployGoalId) {
        this.deployGoalId = deployGoalId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getLastId() {
        return lastId;
    }

    public void setLastId(String lastId) {
        this.lastId = lastId;
    }

    @Override
    public String toString() {
        return "MainTask{" +
                "id='" + id + '\'' +
                ", deployServiceModuleId='" + deployServiceModuleId + '\'' +
                ", deployGoalId='" + deployGoalId + '\'' +
                ", name='" + name + '\'' +
                ", status='" + status + '\'' +
                ", lastId='" + lastId + '\'' +
                '}';
    }
}
